package com.ccs.demo.mapper;

import com.ccs.demo.model.UserInfo;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {
    List<UserInfo> selectAll();

    UserInfo selectById(Integer id);

    Integer insertUser(UserInfo userInfo);

    Integer deleteUser(Integer id);

    Integer updateUser(UserInfo userInfo);

    Integer insertByCondition(UserInfo userInfo);

    Integer insertByCondition2(UserInfo userInfo);

    Integer updateByCondition(UserInfo userInfo);

    List<UserInfo> selectByCondition(UserInfo userInfo);

    Integer batchDelete(List<Integer> ids);



}
